//
//  LHAnimationLayer.h
//  snow
//
//  Created by zhouLiHuan on 2016/12/27.
//  Copyright © 2016年 zhouLiHuan. All rights reserved.
//

#import <QuartzCore/QuartzCore.h>
#import <UIKit/UIKit.h>
#import <CoreText/CoreText.h>

#define kScreenWidth [UIScreen mainScreen].bounds.size.width
#define kScreenHeight [UIScreen mainScreen].bounds.size.height

@interface LHAnimationLayer : CALayer

/**
 *  字符串画线
 *
 *  @param string    要画的字符串
 *  @param rect      动画位置
 *  @param view      动画所在视图
 *  @param ui_font   动画字体
 *  @param color     字体颜色
 */
-(void)createAnimationLayerWithString:(NSString*)string andRect:(CGRect)rect andView:(UIView*)view andFont:(UIFont*)ui_font andStrokeColor:(UIColor*)color bottomStr:(NSString *)bottomStr bottomFont:(UIFont *)bottomFont andBottomStrokeColor:(UIColor *)bottomColor;


@end
